package com.yiwyn.traceiddemo.controller;

import com.yiwyn.traceiddemo.service.TestService;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@AllArgsConstructor
public class TestController {


    private final TestService testService;


    @GetMapping("/test")
    public String test() {

        testService.testService1();

        return "tset";
    }

}
